package com.dotc.patterndemo.structure.proxy;


import android.util.Log;

import com.dotc.patterndemo.structure.proxy.impl.OutOrderServiceImpl;

public class ProxyOrder implements OrderService {
    //真实的订单服务
    private OrderService orderService = new OutOrderServiceImpl();
    @Override
    public int saveOrder() {
        //System.out.println("开始海外下订单");
        Log.d("LUO","开始海外下订单");
        return orderService.saveOrder();
    }
}
